package com.pig4cloud.pig.answerresult.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 答题结果表
 *
 * @author pig
 * @date 2025-04-12 15:33:23
 */
@Data
@TableName("answer_result")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "答题结果表")
public class AnswerResultEntity extends Model<AnswerResultEntity> {


	/**
	* 答卷id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="答卷id")
    private String id;

	/**
	* 用户信息id
	*/
    @Schema(description="用户信息id")
    private Integer userinfoId;

	/**
	* 角色id
	*/
    @Schema(description="角色id")
    private Integer curetypeId;

	/**
	* 问卷id
	*/
    @Schema(description="问卷id")
    private Integer queslistId;

	/**
	* 答卷结果
	*/
    @Schema(description="答卷结果")
    private String answerlistResult;

	/**
	* 是否删除 0：不删除 1：删除
	*/
    @Schema(description="是否删除 0：不删除 1：删除")
    private Integer del;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;
}
